package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;
import java.math.BigDecimal;

/** 
 * @author lvliuhao 
 * @version 创建时间：2018年5月23日 下午10:34:30 
 * 入职材料文件主键类
 */
public class PsChireFilePrimary implements Serializable {
	
	private static final long serialVersionUID = -1001282859402683849L;

	private String rsHireId;
	
	private BigDecimal seqno;
	
	private String cFileNum;
	
	public PsChireFilePrimary() {
	}
	
	/**
	 * @param rsHireId
	 * @param seqno
	 * @param cFileNum
	 */
	public PsChireFilePrimary(String rsHireId, BigDecimal seqno, String cFileNum) {
		this.rsHireId = rsHireId;
		this.seqno = seqno;
		this.cFileNum = cFileNum;
	}

	/**
	 * @return the rsHireId
	 */
	public String getRsHireId() {
		return rsHireId;
	}

	/**
	 * @param rsHireId the rsHireId to set
	 */
	public void setRsHireId(String rsHireId) {
		this.rsHireId = rsHireId;
	}

	/**
	 * @return the seqno
	 */
	public BigDecimal getSeqno() {
		return seqno;
	}

	/**
	 * @param seqno the seqno to set
	 */
	public void setSeqno(BigDecimal seqno) {
		this.seqno = seqno;
	}

	/**
	 * @return the cFileNum
	 */
	public String getcFileNum() {
		return cFileNum;
	}

	/**
	 * @param cFileNum the cFileNum to set
	 */
	public void setcFileNum(String cFileNum) {
		this.cFileNum = cFileNum;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((cFileNum == null) ? 0 : cFileNum.hashCode());
		result = prime * result
				+ ((rsHireId == null) ? 0 : rsHireId.hashCode());
		result = prime * result + ((seqno == null) ? 0 : seqno.hashCode());
		return result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PsChireFilePrimary other = (PsChireFilePrimary) obj;
		if (cFileNum == null) {
			if (other.cFileNum != null)
				return false;
		} else if (!cFileNum.equals(other.cFileNum))
			return false;
		if (rsHireId == null) {
			if (other.rsHireId != null)
				return false;
		} else if (!rsHireId.equals(other.rsHireId))
			return false;
		if (seqno == null) {
			if (other.seqno != null)
				return false;
		} else if (!seqno.equals(other.seqno))
			return false;
		return true;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "PsChireFilePrimary [rsHireId=" + rsHireId + ", seqno=" + seqno
				+ ", cFileNum=" + cFileNum + "]";
	}
	
	

}
 